package cn.wolfcode.mapper;

import cn.wolfcode.domain.Role;
import cn.wolfcode.query.QueryObject;

import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role role);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role role);

    int selectForCount(QueryObject qo);

    List<Role> selectForList(QueryObject qo);
}